using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace Web.Frame
{
    public partial class user_leftbar : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Lutos.Control.PageUtilities pu = new Lutos.Control.PageUtilities(this.Page);
            if(pu.SesUser.User_ID==2)
            {
                this.UserLeftbarControl1.Visible = false;
                this.Login_a1.Visible = true;
            }
            else
            {
                this.UserLeftbarControl1.Initialize(pu.SesUser);
                this.Login_a1.Visible = false;
            }
        }
    }
}